package com.edu.atams.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.edu.atams.common.dto.NoticeInfoDto;
import com.edu.atams.entity.Notice;
import com.edu.atams.mapper.NoticeMapper;
import com.edu.atams.service.NoticeService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author czj666
 * @since 2021-10-14
 */
@Service
public class NoticeServiceImpl extends ServiceImpl<NoticeMapper, Notice> implements NoticeService {



    @Override
    public Page<NoticeInfoDto> page4Student(Page page, int classId, Integer userId, String title) {
        return this.getBaseMapper().page4Student(page, classId, userId, title);
    }
}
